Page({
  data: {
    bannerData: [
      "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fp2.itc.cn%2Fimages01%2F20210611%2F9031c9797b9c43a68822830d683e6f9d.jpeg&refer=http%3A%2F%2Fp2.itc.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1637995037&t=6fb425598b041923c77367c02169665e",
      "/images/temp/lyf.webp",
      "https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png",
      "/images/temp/wbb.jpeg",
    ]
  },
  handleChange(event) {
    // console.log(event)
  },
  /*onShareAppMessage(options) {
    return {
      title: "我是自定义的分享标题",
      imageUrl: "/images/temp/wbb.jpeg",
      // path: "/views/todo/index"
    }
  }*/
  getphonenumber(event) {
    console.log(event)
    // wx.request()
  },
  getuserinfo(event) {
    console.log(event)
  },
  previewImage() {
    // console.log(this.data)
    wx.previewImage({
      current: this.data.bannerData[0], // 当前显示图片的http链接
      urls: this.data.bannerData // 需要预览的图片http链接列表
    })
  }
})
